#include "../myfastdo/myfastdo.hpp"
#include "../protocol_dist.hpp"
#include "../utils.hpp"
USING_ALL;
FASTDO_API void ActionMain(MyFastdoServer &SERV)
{
    ProtocolS2CUserData rtn;
    if (SERV.user.isLogged())
    {
        Mixed userData = SERV.user.getUserData();

        rtn.user_data->fromMixed(userData);
    }
    
    SERV.data.res.data = rtn.toMixed();
}